package com.twu.biblioteca.entity;

/**
 * Created by ccsong on 9/22/14.
 */
public class Account {

    private String libraryNumber;
    private String password;
    public Account(String libraryNumber, String password) {
        this.libraryNumber = libraryNumber;
        this.password = password;
    }

    public boolean equals(Account account){
        return libraryNumber.equals(account.libraryNumber) && password.equals(account.password);
    }

    public String getLibraryNumber(){
        return libraryNumber;
    }
}
